package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Formalities;

/**
 * 手续Service接口
 * 
 * @author ruoyi
 * @date 2021-04-29
 */
public interface IFormalitiesService 
{
    /**
     * 查询手续
     * 
     * @param id 手续ID
     * @return 手续
     */
    public Formalities selectFormalitiesById(Long id);

    /**
     * 查询手续列表
     * 
     * @param formalities 手续
     * @return 手续集合
     */
    public List<Formalities> selectFormalitiesList(Formalities formalities);

    /**
     * 新增手续
     * 
     * @param formalities 手续
     * @return 结果
     */
    public int insertFormalities(Formalities formalities);

    /**
     * 修改手续
     * 
     * @param formalities 手续
     * @return 结果
     */
    public int updateFormalities(Formalities formalities);

    /**
     * 批量删除手续
     * 
     * @param ids 需要删除的手续ID
     * @return 结果
     */
    public int deleteFormalitiesByIds(Long[] ids);

    /**
     * 删除手续信息
     * 
     * @param id 手续ID
     * @return 结果
     */
    public int deleteFormalitiesById(Long id);
}
